package com.sls.mall.authserver.feign;

import com.sls.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lixue
 * @Title: ThirdPartFeignService
 * @ProjectName sls_mall2021
 * @Description: TODO
 * @date 2021/5/615:01
 */

@FeignClient("mall-third-party")
public interface ThirdPartFeignService {

    @RequestMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone")String phone, @RequestParam("code") String code);
}
